Optimal. Leaf size=66 \[ \frac {(g x)^{m+1} \left (a+c x^2\right )^p \left (\frac {c x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac {m+1}{2},-p;\frac {m+3}{2};-\frac {c x^2}{a}\right )}{g (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 66, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {365, 364} \[ \frac {(g x)^{m+1} \left (a+c x^2\right )^p \left (\frac {c x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac {m+1}{2},-p;\frac {m+3}{2};-\frac {c x^2}{a}\right )}{g (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 364
Rule 365
Rubi steps
\begin {align*} \int (g x)^m \left (a+c x^2\right )^p \, dx &=\left (\left (a+c x^2\right )^p \left (1+\frac {c x^2}{a}\right )^{-p}\right ) \int (g x)^m \left (1+\frac {c x^2}{a}\right )^p \, dx\\ &=\frac {(g x)^{1+m} \left (a+c x^2\right )^p \left (1+\frac {c x^2}{a}\right )^{-p} \, _2F_1\left (\frac {1+m}{2},-p;\frac {3+m}{2};-\frac {c x^2}{a}\right )}{g (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 64, normalized size = 0.97 \[ \frac {x (g x)^m \left (a+c x^2\right )^p \left (\frac {c x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac {m+1}{2},-p;\frac {m+1}{2}+1;-\frac {c x^2}{a}\right )}{m+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.68, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (c x^{2} + a\right )}^{p} \left (g x\right )^{m}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (c x^{2} + a\right )}^{p} \left (g x\right )^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.06, size = 0, normalized size = 0.00 \[ \int \left (g x \right )^{m} \left (c \,x^{2}+a \right )^{p}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (c x^{2} + a\right )}^{p} \left (g x\right )^{m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int {\left (g\,x\right )}^m\,{\left (c\,x^2+a\right )}^p \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 22.60, size = 54, normalized size = 0.82 \[ \frac {a^{p} g^{m} x x^{m} \Gamma \left (\frac {m}{2} + \frac {1}{2}\right ) {{}_{2}F_{1}\left (\begin {matrix} - p, \frac {m}{2} + \frac {1}{2} \\ \frac {m}{2} + \frac {3}{2} \end {matrix}\middle | {\frac {c x^{2} e^{i \pi }}{a}} \right )}}{2 \Gamma \left (\frac {m}{2} + \frac {3}{2}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________